<?php
if(count($celebrities)>0){ 
?>
         <div class="hot_links">
		    <h2><div class="com_tit">明星首页<span>ARTOST PAGE</span></div></h2>
			<div class="hot_links_box" >
		<?php         //明星首页链接列表
		  foreach($celebrities as $celebrity)
		  {
		  echo "<div class='hot_links_li'>
			    <div class='hot_img'>".link_to("<img src='".$celebrity->getSnapshot_big()."' />","celebrity/detail?celebrityId=".$celebrity->getCelebrity_id()," target='_blank'")."
			    </div>
				<div class='hot_text'>
				   <h3>".link_to($celebrity->getName(),"celebrity/detail?celebrityId=".$celebrity->getCelebrity_id()," target='_blank'")."</h3>
				   <div class='hot_time'>发布时间".utility::DateDiff(date("Y-m-d H:i:s"),$celebrity->getPublish_time())."</div>
				</div>
			  </div>";
          }
		?>
			</div>
</div>
<?php }?>